package com.ywu.data.dict.spi.spi;

import com.ywu.common.result.CommonResult;
import com.ywu.data.dict.spi.dto.DataDictDto;
import com.ywu.data.dict.spi.entity.DataDictEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @ClassName DataDictSpi
 * @Description TODO
 * @Author GroundDemo
 * @Date 2024/7/13 22:57
 * @Version 1.0
 **/
@FeignClient(value = "YWU-DATA-DICT")
public interface DataDictSpi {
    @PostMapping("/ywu/data/dict/data.dict.query.for.spi.info")
    CommonResult<DataDictEntity> queryForSpi(@RequestBody DataDictDto dataDictDto);
}
